Skip to content

fix(config): remove spurious error log from tryDecode on decode failure#692

Closed
mdryaan wants to merge 1 commit into
urunc-dev:mainfrom
mdryaan:fix/trydecode-log-level
Closed

fix(config): remove spurious error log from tryDecode on decode failure#692
mdryaan wants to merge 1 commit into
urunc-dev:mainfrom
mdryaan:fix/trydecode-log-level

Conversation

@mdryaan
Copy link
Copy Markdown
Contributor

@mdryaan mdryaan commented May 17, 2026

Description

tryDecode() in pkg/unikontainers/config.go logs at error level when base64 decoding fails. Since annotation values like "qemu" or "unikraft" are plain text, this fires on every container start — not a real error.
The fallback to the original string is the intended behavior. Removed the log call entirely.

Related issues

Checklist

  • I have read the contribution guide.
  • The linter passes locally (make lint).
  • The e2e tests of at least one tool pass locally (make test_ctr, make test_nerdctl, make test_docker, make test_crictl).
  • If LLMs were used: I have read the llm policy.

Signed-off-by: Md Raiyan <alikhurshid842001@gmail.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 17, 2026

Deploy Preview for urunc canceled.

Name Link
🔨 Latest commit 20d484b
🔍 Latest deploy log https://app.netlify.com/projects/urunc/deploys/6a09339899e8b000080f24ed

@cmainas
Copy link
Copy Markdown
Contributor

cmainas commented May 18, 2026

Hello @mdryaan ,

once more please do not open PRs for unverified issues.

@mdryaan mdryaan closed this May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

downgrade tryDecode log level from error to debug for decode failures

2 participants